/**
 * Copyright (C) 2017-2018 pinganfang, Inc. All Rights Reserved.
 */
package com.pingan.haofang.searchcloud.api.client;

/**
 * @author huhailiang937
 * @date 2017年7月5日下午4:58:46
 * @since 1.0.0
 */
public interface ClientFactory<E> {

    E  getByName(String indexName) throws Exception;

    E  getByHost(String host) throws Exception;
}
